home *** CD-ROM | disk | FTP | other *** search
/ LeeAnne Interactive / Leeanne Interactive.iso / interface.dir / 00023_Script_Video Stop < prev    next >
Text File  |  1999-08-01  |  734b  |  26 lines

  1. -- Video Stop  MouseUp
  2.  
  3.  
  4. -- behavior library version 1.1
  5. -- a control
  6.  
  7. property videoSprite -- the sprite number that is getting controlled
  8.  
  9. on mouseUp me
  10.   set the movieRate of sprite the VideoSprite of me = 0
  11. end
  12.  
  13. ---
  14.  
  15. on getPropertyDescriptionList
  16.   set p_list = [    #videoSprite: [ #comment: "Video Sprite Channel:",                     #format: #integer,                    #default:  1 ]                  ]
  17.   return p_list
  18.   
  19. end
  20.  
  21. on getBehaviorDescription
  22.   return "Stops a digital video playing in the current frame. Attach to a button with the appropriate label." & RETURN & "PARAMETERS:" & RETURN & "ò Video Sprite - Enter number of the sprite channel in which the video is displayed."    
  23.   
  24. end
  25.  
  26.